@extends('dashboard.createform')
@section('form')
  @section('title') 添加品牌 @endsection

  @section('form')
  <form action="{{route('admin.config.store')}}" method="post">
    @text(['name' => 'title', 'label' => '网站名称', 'default' => $data->name??'', 'default'=> $data->title??''])
    @endtext

    @text(['name' => 'keyword', 'label' => '关键字', 'default' => $data->keyword??'', 'default' => $data->keyword??''])
    @endtext

    @text(['name' => 'description', 'label' => '描述', 'default' => $data->description??''])
    @endtext

    @upload(['name' => 'logo', 'label' => '网站logo', 'default' => $data->keyword??'','default' => $data->logo??''])
    @endupload
   
    @text(['name' => 'copy_right', 'label' => '版权信息', 'default' => $data->copy_right??''])
    @endtext
    @submit @endsubmit
  </form>

  @errmsg @enderrmsg
  @endsection
@endsection